You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pull requests must include at least one of the required labels: internal (no release notes required), highlight, enhancement, bug, deprecation, documentation. Except for internal, pull requests must also include a description in the release notes section.
This pull request enhances the test framework by ensuring that every test function and decorator is initialized with two additional attributes: __tags__ and __tasks__. These attributes are automatically set to empty lists if they are not already defined. The change was applied in both the decorator function and the test loader function. This improvement allows later parts of the system to safely assume the existence of these attributes, reducing the need for additional checks elsewhere in the codebase.
Test Suggestions
Create unit tests to verify that functions decorated with the test decorator have both tags and tasks attributes set to empty lists when not explicitly defined.
Test that if a function already has tags or tasks defined, these attributes are preserved and not overwritten.
Perform integration tests to ensure that tests registered via the load_test function correctly include the new attributes.
Verify that the system behaves as expected when these attributes are modified later in the execution flow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bugSomething isn't workinginternalNot to be externalized in the release notes
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Description
What and why?
How to test
What needs special review?
Dependencies, breaking changes, and deployment notes
Release notes
Checklist